<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>增加留言</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
<style type="text/css">
.list-div table {
	border:1px;
}
.list-div th {
	border-right:1px dotted #ccc;
	text-align:rigth;
	padding:5px;
	width:15%;
	border-bottom:1px dotted #ccc;
	font-weight:400;
}
.list-div table td {
	height:24px;
	line-height: 24px;
	padding-left:5px;
	text-align:left;
	border-right:1px dotted #ccc;
	border-bottom:1px dotted #ccc;
	white-space:nowrap;
	width:35%;
}
</style>
</head>
<body background="images/allbg.gif" leftmargin='8' topmargin='8'>
 <form action="message_main.php" method="post" name="form1">
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="list-div">
    <tr>
      <td height="28" background="images/tbg.gif" style="padding-left:10px;"><b><a href="message_main.php"><u>留言管理</u></a></b> &gt;&gt; 留言详情 </td>
    </tr>
    <tr>
      <td height="200" bgcolor="#FFFFFF" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="1">
          <tr>
            <th align="right">留言内容：</th>
            <td colspan="3"><?php echo $row['msg'];?></td>
          </tr>
          <tr>
            <th align="right">留言者：</th>
            <td><?php echo $row['uname'];?> </td>
            <th align="right">电话：</th>
            <td><?php echo $row['tel'];?> </td>
          </tr>
          <tr>
            <th align="right">您的邮箱：</th>
            <td><?php echo $row['email']; ?></td>
            <th align="right">OICQ号码：</th>
            <td><?php echo $row['qq'];?> </td>
          </tr>
          <tr>
            <th align="right">个人主页：</th>
            <td><?php echo $row['homepage'];?> </td>
            <th align="right">添加时间：</th>
            <td><?php echo $row['dtime']; ?></td>
          </tr>
          <?php if(!$row['isaudit']){?>
            <tr>
            <th colspan="4">
            <input type='hidden' name='dopost' value='audit'>
            <input type='hidden' name='id' value='<?php echo $row['id'];?>'>
            <input name="审核" type="submit" value="审核"/></th>
          </tr>
          <?php }else{?>
          <tr>
            <th colspan="4">
            已审核
            </th>
            </tr>
          <?php }?>
        </table></td>
    </tr>
  </table>
</form>
</body>
</html>
